import { TimeRange } from "@/utils"

export interface IResponseItem {
	id: string
	lockOrder: number
	lockStatus: number
	merchantId: string
	lockNameId: string
	lockName: string
	auditStatus: number
	auditStep: number
	eventId: string
	memberName: string
	currentProxyName: string
	transferProxyName: string
	createdAt: string
	applyRemark: string
	lockDatetime: string
	auditName: string
	auditDatetime: string
	memberAccountType: number
	memberRegisterDatetime: string
	memberWindControlName: string
	currentProxyAccountType: number
	transferProxyAccountType: number
	transferProxyRegisterDatetime: string
	transferProxyWindControlName: string
	applyName: string
	auditRemark: string
	businessModel: number
	commissionMode: number
	transferProxyCommissionMode: number
}

export interface IQueryListParams {
	merchantId?: string
	applyStartTime?: string
	applyEndTime?: string
	applyTime?: TimeRange
	auditStartTime?: string
	auditEndTime?: string
	auditTime?: TimeRange
	applyName?: string
	auditName?: string
	memberName?: string
	currentProxyName?: string
	transferProxyName?: string
	eventId?: string
	auditStatus?: string | [string]
	lockOrder?: number
	pageNum?: number
	pageSize?: number
}

export interface ILockRecordParams {
	id: string
	lockOrderStatus: number
	merchantId: string
}

export interface IAuditRecordParams {
	id: string
	auditRemark: string
	auditStatus: number
}
